//弹出框
jQuery(document).ready(function($){
	//open popup
	$('.cd-popup-trigger').on('click', function(event){
		event.preventDefault();
		$('.cd-popup').addClass('is-visible');
	});
	
	//close popup
	$('.cd-popup').on('click', function(event){
		if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup,.zxac_box') ) {
			event.preventDefault();
			$(this).removeClass('is-visible');
		}
	});
});
jQuery(document).ready(function($){
	//open popup
	$('.cd-popup-trigger_2').on('click', function(event){
		event.preventDefault();
		$('.zxac_box').addClass('is-visible');
	});
	
	//close popup
	$('.zxac_box').on('click', function(event){
		if( $(event.target).is('.close') || $(event.target).is('.cd-popup,.zxac_box') ) {
			event.preventDefault();
			$(this).removeClass('is-visible');
		}
	});
});
jQuery(document).ready(function($){
	//open popup
	$('.trigger').on('click', function(event){
		event.preventDefault();
		$('.fjmd_box').addClass('is-visible');
	});
	
	//close popup
	$('.fjmd_box').on('click', function(event){
		if( $(event.target).is('.close') || $(event.target).is('.fjmd_box') ) {
			event.preventDefault();
			$(this).removeClass('is-visible');
		}
	});
});
//点击滑动出现
function show_menu(){
$("#select_box_1").slideDown(400);
}
function hidden_menu(){
$("#select_box_1").slideUp(400);
}
function show_menu2(){
$("#select_box_2").slideDown(400);
}
function hidden_menu2(){
$("#select_box_2").slideUp(400);
}

